home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / ComponentIncludes / QTSMovie.k.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-12  |  1.6 KB  |  55 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        QTSMovie.k.h
  3.  
  4.      Contains:    QuickTime interfaces
  5.  
  6.      Version:    Technology:    
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    © 1990-1999 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef ___QTSMOVIE_K__
  18. #define ___QTSMOVIE_K__
  19.  
  20. #include <QTSMovie.h>
  21.  
  22. /*
  23.     Example usage:
  24.  
  25.         #define QTSMEDIA_BASENAME()    Fred
  26.         #define QTSMEDIA_GLOBALS()    FredGlobalsHandle
  27.         #include <QTSMovie.k.h>
  28.  
  29.     To specify that your component implementation does not use globals, do not #define QTSMEDIA_GLOBALS
  30. */
  31. #ifdef QTSMEDIA_BASENAME
  32.     #ifndef QTSMEDIA_GLOBALS
  33.         #define QTSMEDIA_GLOBALS() 
  34.         #define ADD_QTSMEDIA_COMMA 
  35.     #else
  36.         #define ADD_QTSMEDIA_COMMA ,
  37.     #endif
  38.     #define QTSMEDIA_GLUE(a,b) a##b
  39.     #define QTSMEDIA_STRCAT(a,b) QTSMEDIA_GLUE(a,b)
  40.     #define ADD_QTSMEDIA_BASENAME(name) QTSMEDIA_STRCAT(QTSMEDIA_BASENAME(),name)
  41.  
  42.     EXTERN_API( ComponentResult  ) ADD_QTSMEDIA_BASENAME(SetInfo) (QTSMEDIA_GLOBALS() ADD_QTSMEDIA_COMMA OSType  inSelector, void * ioParams);
  43.  
  44.     EXTERN_API( ComponentResult  ) ADD_QTSMEDIA_BASENAME(GetInfo) (QTSMEDIA_GLOBALS() ADD_QTSMEDIA_COMMA OSType  inSelector, void * ioParams);
  45.  
  46.     EXTERN_API( ComponentResult  ) ADD_QTSMEDIA_BASENAME(SetIndStreamInfo) (QTSMEDIA_GLOBALS() ADD_QTSMEDIA_COMMA SInt32  inIndex, OSType  inSelector, void * ioParams);
  47.  
  48.     EXTERN_API( ComponentResult  ) ADD_QTSMEDIA_BASENAME(GetIndStreamInfo) (QTSMEDIA_GLOBALS() ADD_QTSMEDIA_COMMA SInt32  inIndex, OSType  inSelector, void * ioParams);
  49.  
  50. #endif    /* QTSMEDIA_BASENAME */
  51.  
  52.  
  53. #endif /* ___QTSMOVIE_K__ */
  54.  
  55.